package com.nitobi.test
{
	import com.nitobi.util.Encryption;
	
	import flexunit.framework.TestCase;
	
	public class EncryptionTest extends TestCase
	{
		public function testEncryptString():void
		{
			Encryption.writeEncryptedStringSetting("testEncryptString", "testString");
			assertEquals("Encrypt string 'testString' should be 'testString' when decrypted", "testString", Encryption.readEncryptedStringSetting("testEncryptString"));
		}
	}
}